home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-01-01 | 46.1 KB | 1,626 lines | [TEXT/MPS ] |
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: DragText.xh.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emitxh.dll: 2.33
- */
-
- #ifndef SOM_Module_AppleTestDrag_defined
- #define SOM_Module_AppleTestDrag_defined 1
- #include <som.xh>
-
- /*
- * Start of user-defined types:
- */
- class SOMClass;
- class SOMObject;
- class ODFrame;
- class ODFacet;
- class ODObject;
- class ODExtension;
- class ODRefCntObject;
- class ODPersistentObject;
- class ODStorageUnit;
- class ODPart;
- class ODCanvas;
- class ODDragItemIterator;
- class ODEmbeddedFramesIterator;
- class ODLink;
- class ODLinkSource;
- class ODObjectSpec;
- class ODShape;
- class ODStorageUnitView;
- class ODTypeList;
- class ODTransform;
- class ODSession;
- class ODFocusSet;
- class ODMenuBar;
- class AppleTestDrag_SemtIntf;
- class ODDraft;
- class ODWindow;
-
- /*
- * End of user-defined types.
- */
- #endif /* SOM_Module_AppleTestDrag_defined */
-
- #ifndef SOM_AppleTestDrag_DragText_xh
- #define SOM_AppleTestDrag_DragText_xh
-
- class AppleTestDrag_DragText;
-
- #define AppleTestDrag_DragText_MajorVersion 1
- #define AppleTestDrag_DragText_MinorVersion 0
-
- /*
- * Passthru lines: File: "C.xh", "before"
- */
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
-
- #ifndef __TEXTEDIT__
- #include <TextEdit.h>
- #endif
-
- class OrderedCollection;
- struct UndoInfo;
- struct Document;
-
- /* C++ SOM defs */
- #include <somcls.xh>
- #include <somcm.xh>
-
- /* C++ parent defs */
- #ifndef SOM_ODPart_xh
- #include <Part.xh>
- #endif
-
- #ifndef AppleTestDrag_DragText_API
- #define AppleTestDrag_DragText_API
- /*
- * -- The Class API
- */
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct AppleTestDrag_DragText_DestOfLink {
- ODLink* link;
- ODSShort start;
- ODSShort end;
- struct ODLinkInfo info;
- } AppleTestDrag_DragText_DestOfLink;
- #if powerc
- # pragma options align=reset
- #endif
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct AppleTestDrag_DragText_SrceOfLink {
- ODLinkSource* linkSource;
- ODSShort start;
- ODSShort end;
- ODUpdateID change;
- } AppleTestDrag_DragText_SrceOfLink;
- #if powerc
- # pragma options align=reset
- #endif
- typedef
- ODUShort AppleTestDrag_DragText_LinkBorderStyle;
- #define AppleTestDrag_DragText_kLinkBorderOff 0 /* 0 */
- #define AppleTestDrag_DragText_kLinkBorderOn 1 /* 1 */
- #define AppleTestDrag_DragText_kLinkBorderSelected 2 /* 2 */
-
- #ifndef SOM_DONT_USE_SHORT_NAMES
- #ifndef SOMTGD_DestOfLink
- #ifdef DestOfLink
- #undef DestOfLink
- #define SOMTGD_DestOfLink 1
- #else
- #define DestOfLink AppleTestDrag_DragText_DestOfLink
- #endif /* DestOfLink */
- #endif /* SOMTGD_DestOfLink */
- #ifndef SOMTGD_SrceOfLink
- #ifdef SrceOfLink
- #undef SrceOfLink
- #define SOMTGD_SrceOfLink 1
- #else
- #define SrceOfLink AppleTestDrag_DragText_SrceOfLink
- #endif /* SrceOfLink */
- #endif /* SOMTGD_SrceOfLink */
-
- #ifndef SOM_DONT_USE_SHORT_NAMES
- #ifndef SOMTGD_LinkBorderStyle
- #ifdef LinkBorderStyle
- #undef LinkBorderStyle
- #define SOMTGD_LinkBorderStyle 1
- #else
- #define LinkBorderStyle AppleTestDrag_DragText_LinkBorderStyle
- #endif /* LinkBorderStyle */
- #endif /* SOMTGD_LinkBorderStyle */
- #endif /* SOM_DONT_USE_SHORT_NAMES */
- #ifndef SOMTGD_kLinkBorderOff
- #ifdef kLinkBorderOff
- #undef kLinkBorderOff
- #define SOMTGD_kLinkBorderOff 1
- #else
- #define kLinkBorderOff AppleTestDrag_DragText_kLinkBorderOff
- #endif /* kLinkBorderOff */
- #endif /* SOMTGD_kLinkBorderOff */
- #ifndef SOMTGD_kLinkBorderOn
- #ifdef kLinkBorderOn
- #undef kLinkBorderOn
- #define SOMTGD_kLinkBorderOn 1
- #else
- #define kLinkBorderOn AppleTestDrag_DragText_kLinkBorderOn
- #endif /* kLinkBorderOn */
- #endif /* SOMTGD_kLinkBorderOn */
- #ifndef SOMTGD_kLinkBorderSelected
- #ifdef kLinkBorderSelected
- #undef kLinkBorderSelected
- #define SOMTGD_kLinkBorderSelected 1
- #else
- #define kLinkBorderSelected AppleTestDrag_DragText_kLinkBorderSelected
- #endif /* kLinkBorderSelected */
- #endif /* SOMTGD_kLinkBorderSelected */
- #endif /* SOM_DONT_USE_SHORT_NAMES */
-
- /*
- * End of user-defined types.
- */
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define AppleTestDrag_DragTextCClassData AppleTestDrag_DragTextClassData
- #define AppleTestDrag_DragTextNewClass(major,minor) somNewVersionedClassReference(AppleTestDrag_DragText,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define AppleTestDrag_DragTextMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /* The API to the AppleTestDrag_DragText class object, and the methods it introduces. */
- SOMEXTERN struct AppleTestDrag_DragTextClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMClass *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken CommonInitDragText;
- somMToken ActivatingWindow;
- somMToken DeactivatingWindow;
- somMToken CreateWindow;
- somMToken ExternalizeSelection;
- somMToken HandleMouseDownInBorder;
- somMToken HandleMouseDown;
- somMToken HandleKeyDown;
- somMToken HandleMenuEvent;
- somMToken Idle;
- somMToken ActivateFrame;
- somMToken DeactivateFrame;
- somMToken InvalAllFrames;
- somMToken ExternalShapeToWindowShape;
- somMToken AdjustFontMenu;
- somMToken AdjustSizeMenu;
- somMToken HandleFontMenu;
- somMToken HandleSizeMenu;
- somMToken InstallMenus;
- somMToken RemoveMenus;
- somMToken OutlineSizeMenu;
- somMToken CreateDocument;
- somMToken PositionDocumentParts;
- somMToken AdjustScrollBar;
- somMToken AdjustCursor;
- somMToken DoDragText;
- somMToken ClipThis;
- somMToken ClipToRoot;
- somMToken DoCommand;
- somMToken DoCut;
- somMToken DoCopy;
- somMToken DoPaste;
- somMToken DoPasteAs;
- somMToken CanPasteLink;
- somMToken DoPasteLink;
- somMToken DoDropPaste;
- somMToken DoDropPasteLink;
- somMToken DoLinkInfo;
- somMToken DoClear;
- somMToken DoSelectAll;
- somMToken DoSampleTwo;
- somMToken DoSampleOne;
- somMToken CommonDropProlog;
- somMToken DropOneItem;
- somMToken UndoRedoCut;
- somMToken UndoRedoPaste;
- somMToken UndoRedoPasteLink;
- somMToken UndoRedoClear;
- somMToken UndoRedoSampleOne;
- somMToken UndoRedoSampleTwo;
- somMToken UndoRedoTyping;
- somMToken UndoRedoStyling;
- somMToken PushUndoAction;
- somMToken IncorporateTestDragContent;
- somMToken IncorporateTextContent;
- somMToken IncorporateStyledTextContent;
- somMToken OpenWhitespace;
- somMToken InsertWhitespace;
- somMToken ExpandSelectionAroundLink;
- somMToken SelectionInLinkSource;
- somMToken SelectionInLinkDestination;
- somMToken PtInDestinationLink;
- somMToken AdjustDstLinks;
- somMToken AdjustSrcLinks;
- somMToken CheckDstLinkDeletion;
- somMToken AbandonSourceLinks;
- somMToken RemoveSrcLink;
- somMToken RemoveDstLink;
- somMToken RemoveLinkSpec;
- somMToken LinkChanged;
- somMToken IncorporateContentFromLink;
- somMToken AdjustLinks;
- somMToken AddLinkSpecToSU;
- somMToken PasteLinkFromSU;
- somMToken ShowLinkBorder;
- somMToken ShowAboutBox;
- somMToken UserCategoryString;
- somMToken InstallObjectAccessors;
- somMToken TranslateContentKind;
- } SOMDLINK AppleTestDrag_DragTextClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(AppleTestDrag_DragText_Class_Source) && !defined(SOM_Module_dragtext_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list AppleTestDrag_DragTextClassData
- #endif
- #endif
-
-
- /*
- * -- Typedefs and inline method declarations for left path inherited methods
- * -- are omitted because this compilation had -museinheritedmethods in effect
- */
-
-
- /*
- * -- Typedefs for AppleTestDrag_DragText Method Procedures
- */
- SOMEXTERN {
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_CommonInitDragText)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* su);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_ActivatingWindow)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_DeactivatingWindow)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODWindow* (* SOMLINK somTD_AppleTestDrag_DragText_CreateWindow)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* sourceFrame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_ExternalizeSelection)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* su,
- ODCloneKind cloneKind);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_HandleMouseDown)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFacet* facet,
- ODPoint* where,
- ODEventData* event);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_HandleMouseDownInBorder)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFacet* container,
- ODFacet* facet,
- ODPoint* where,
- ODEventData* event);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_HandleKeyDown)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* focusFrame,
- ODEventData* event);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_HandleMenuEvent)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame,
- ODEventData* event);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_Idle)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_ActivateFrame)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_DeactivateFrame)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_InvalAllFrames)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_ExternalShapeToWindowShape)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFacet* facet,
- ODShape* inShape,
- ODShape* outShape);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AdjustFontMenu)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AdjustSizeMenu)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_HandleFontMenu)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODUShort item);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_HandleSizeMenu)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODUShort item);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_InstallMenus)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_RemoveMenus)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_OutlineSizeMenu)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODSShort fontNum);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_CreateDocument)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_PositionDocumentParts)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AdjustScrollBar)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AdjustCursor)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODPoint* where);
- typedef short (* SOMLINK somTD_AppleTestDrag_DragText_DoDragText)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODEventData* event);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_ClipThis)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFacet* facet);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_ClipToRoot)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFacet* facet);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoCommand)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame,
- ODCommandID command);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoCut)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoCopy)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODStorageUnit* (* SOMLINK somTD_AppleTestDrag_DragText_TranslateContentKind)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* contentSU,
- ODType desiredKind,
- ODType translateKind);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoPaste)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame,
- ODType desiredKind,
- ODType translateKind);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoPasteAs)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_CanPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* contentSU,
- ODBoolean isMyContent,
- ODSShort pasteStart,
- ODSShort pasteEnd);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame,
- ODType desiredKind);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_DoDropPaste)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* dropSU,
- ODCloneKind cloneKind,
- ODType desiredKind,
- ODFacet* facet,
- ODPoint* where);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_DoDropPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* dropSU,
- ODType desiredKind,
- ODFacet* facet,
- ODPoint* where);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoLinkInfo)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoClear)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoSelectAll)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoSampleTwo)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_DoSampleOne)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_CommonDropProlog)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODCloneKind cloneKind);
- typedef ODDropResult (* SOMLINK somTD_AppleTestDrag_DragText_DropOneItem)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* dropSU,
- ODFacet* facet,
- ODPoint* where);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoCut)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoPaste)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoClear)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoSampleOne)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoSampleTwo)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoTyping)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoStyling)(AppleTestDrag_DragText *somSelf, Environment *ev,
- UndoInfo* action,
- ODUShort selector);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_PushUndoAction)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame,
- ODCommandID command,
- ODULong start,
- ODULong end,
- ODPtr text,
- ODHandle style,
- StringPtr undoText,
- StringPtr redoText);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateTestDragContent)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* su,
- ODUpdateID change,
- ODCloneKind cloneKind);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateStyledTextContent)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* su,
- ODUpdateID change);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateTextContent)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* su,
- ODUpdateID change);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_OpenWhitespace)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* su,
- ODValueType kind);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_InsertWhitespace)(AppleTestDrag_DragText *somSelf, Environment *ev,
- char firstChar,
- char lastChar);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_ExpandSelectionAroundLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_SelectionInLinkSource)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_SelectionInLinkDestination)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_PtInDestinationLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
- Point* thePoint);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AdjustDstLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODSShort endNew,
- ODUpdateID change);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AdjustSrcLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODSShort endNew,
- ODUpdateID change);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_CheckDstLinkDeletion)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODUpdateID change);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AbandonSourceLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODSShort start,
- ODSShort end);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_RemoveSrcLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_RemoveDstLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_RemoveLinkSpec)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_LinkChanged)(AppleTestDrag_DragText *somSelf, Environment *ev,
- AppleTestDrag_DragText_SrceOfLink* srcLink,
- ODUpdateID changeID);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateContentFromLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AdjustLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODSShort endNew,
- ODUpdateID changeID);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_AddLinkSpecToSU)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODStorageUnit* su);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_PasteLinkFromSU)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame,
- ODType desiredKind,
- ODStorageUnit* su);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_ShowLinkBorder)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame,
- AppleTestDrag_DragText_LinkBorderStyle borderStyle);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_ShowAboutBox)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODFrame* frame);
- typedef ODBoolean (* SOMLINK somTD_AppleTestDrag_DragText_UserCategoryString)(AppleTestDrag_DragText *somSelf, Environment *ev,
- ODName* name);
- typedef void (* SOMLINK somTD_AppleTestDrag_DragText_InstallObjectAccessors)(AppleTestDrag_DragText *somSelf, Environment *ev);
- }
-
- #endif /* AppleTestDrag_DragText_API */
-
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * -- The C++ Wrapper Class for AppleTestDrag_DragText
- */
- class AppleTestDrag_DragText : public ODPart
- {
- public:
-
- // AppleTestDrag_DragText::new registers use of the class object, and then uses somNew
- // to allocate memory and load the object method table pointer.
- void *operator new(size_t size)
- {
- SOM_IgnoreWarning(size);
- // Allocate memory using the default allocator for AppleTestDrag_DragText, and
- // clear mem & set method table pointer, call basic initialization
- #ifdef SOMCHKNULL
- void * __somResult = (void *)
- somNewObject(AppleTestDrag_DragText);
- SOMCHKNULL(__somResult);
- return __somResult;
- #else
- return (void*) somNewObject(AppleTestDrag_DragText);
- #endif
- }
-
- // AppleTestDrag_DragText::delete uses the default deallocator for the object's class.
- void operator delete(void * obj)
- {
- if (obj) {
- SOM_Resolve(obj,SOMObject,somFree)
- ( (SOMObject*) obj );
- }
- }
-
- /* method: CommonInitDragText */
- void CommonInitDragText(Environment *ev,
- ODStorageUnit* su)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CommonInitDragText)
- (this,ev,su);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: ActivatingWindow */
- void ActivatingWindow(Environment *ev,
- ODFrame* frame)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ActivatingWindow)
- (this,ev,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: DeactivatingWindow */
- void DeactivatingWindow(Environment *ev,
- ODFrame* frame)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DeactivatingWindow)
- (this,ev,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: CreateWindow */
- ODWindow* CreateWindow(Environment *ev,
- ODFrame* sourceFrame)
- {
- #ifdef SOMCHKEXCEPT
- ODWindow* __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CreateWindow)
- (this,ev,sourceFrame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CreateWindow)
- (this,ev,sourceFrame);
- #endif
- }
-
- /* method: ExternalizeSelection */
- void ExternalizeSelection(Environment *ev,
- ODStorageUnit* su,
- ODCloneKind cloneKind)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ExternalizeSelection)
- (this,ev,su,cloneKind);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: HandleMouseDown */
- ODBoolean HandleMouseDown(Environment *ev,
- ODFacet* facet,
- ODPoint* where,
- ODEventData* event)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDown)
- (this,ev,facet,where,event);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDown)
- (this,ev,facet,where,event);
- #endif
- }
-
- /* method: HandleMouseDownInBorder */
- ODBoolean HandleMouseDownInBorder(Environment *ev,
- ODFacet* container,
- ODFacet* facet,
- ODPoint* where,
- ODEventData* event)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDownInBorder)
- (this,ev,container,facet,where,event);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDownInBorder)
- (this,ev,container,facet,where,event);
- #endif
- }
-
- /* method: HandleKeyDown */
- ODBoolean HandleKeyDown(Environment *ev,
- ODFrame* focusFrame,
- ODEventData* event)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleKeyDown)
- (this,ev,focusFrame,event);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleKeyDown)
- (this,ev,focusFrame,event);
- #endif
- }
-
- /* method: HandleMenuEvent */
- ODBoolean HandleMenuEvent(Environment *ev,
- ODFrame* frame,
- ODEventData* event)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMenuEvent)
- (this,ev,frame,event);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMenuEvent)
- (this,ev,frame,event);
- #endif
- }
-
- /* method: Idle */
- void Idle(Environment *ev,
- ODFrame* frame)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,Idle)
- (this,ev,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: ActivateFrame */
- ODBoolean ActivateFrame(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ActivateFrame)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ActivateFrame)
- (this,ev,frame);
- #endif
- }
-
- /* method: DeactivateFrame */
- void DeactivateFrame(Environment *ev,
- ODFrame* frame)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DeactivateFrame)
- (this,ev,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: InvalAllFrames */
- void InvalAllFrames(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InvalAllFrames)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: ExternalShapeToWindowShape */
- void ExternalShapeToWindowShape(Environment *ev,
- ODFacet* facet,
- ODShape* inShape,
- ODShape* outShape)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ExternalShapeToWindowShape)
- (this,ev,facet,inShape,outShape);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AdjustFontMenu */
- void AdjustFontMenu(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustFontMenu)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AdjustSizeMenu */
- void AdjustSizeMenu(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustSizeMenu)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: HandleFontMenu */
- void HandleFontMenu(Environment *ev,
- ODUShort item)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleFontMenu)
- (this,ev,item);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: HandleSizeMenu */
- void HandleSizeMenu(Environment *ev,
- ODUShort item)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleSizeMenu)
- (this,ev,item);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: InstallMenus */
- void InstallMenus(Environment *ev,
- ODFrame* frame)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InstallMenus)
- (this,ev,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: RemoveMenus */
- void RemoveMenus(Environment *ev,
- ODFrame* frame)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveMenus)
- (this,ev,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: OutlineSizeMenu */
- void OutlineSizeMenu(Environment *ev,
- ODSShort fontNum)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,OutlineSizeMenu)
- (this,ev,fontNum);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: CreateDocument */
- void CreateDocument(Environment *ev,
- ODFrame* frame)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CreateDocument)
- (this,ev,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: PositionDocumentParts */
- void PositionDocumentParts(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PositionDocumentParts)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AdjustScrollBar */
- void AdjustScrollBar(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustScrollBar)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AdjustCursor */
- void AdjustCursor(Environment *ev,
- ODPoint* where)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustCursor)
- (this,ev,where);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: DoDragText */
- short DoDragText(Environment *ev,
- ODEventData* event)
- {
- #ifdef SOMCHKEXCEPT
- short __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDragText)
- (this,ev,event);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDragText)
- (this,ev,event);
- #endif
- }
-
- /* method: ClipThis */
- void ClipThis(Environment *ev,
- ODFacet* facet)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ClipThis)
- (this,ev,facet);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: ClipToRoot */
- void ClipToRoot(Environment *ev,
- ODFacet* facet)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ClipToRoot)
- (this,ev,facet);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: DoCommand */
- ODBoolean DoCommand(Environment *ev,
- ODFrame* frame,
- ODCommandID command)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCommand)
- (this,ev,frame,command);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCommand)
- (this,ev,frame,command);
- #endif
- }
-
- /* method: DoCut */
- ODBoolean DoCut(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCut)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCut)
- (this,ev,frame);
- #endif
- }
-
- /* method: DoCopy */
- ODBoolean DoCopy(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCopy)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCopy)
- (this,ev,frame);
- #endif
- }
-
- /* method: TranslateContentKind */
- ODStorageUnit* TranslateContentKind(Environment *ev,
- ODStorageUnit* contentSU,
- ODType desiredKind,
- ODType translateKind)
- {
- #ifdef SOMCHKEXCEPT
- ODStorageUnit* __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,TranslateContentKind)
- (this,ev,contentSU,desiredKind,translateKind);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,TranslateContentKind)
- (this,ev,contentSU,desiredKind,translateKind);
- #endif
- }
-
- /* method: DoPaste */
- ODBoolean DoPaste(Environment *ev,
- ODFrame* frame,
- ODType desiredKind,
- ODType translateKind)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPaste)
- (this,ev,frame,desiredKind,translateKind);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPaste)
- (this,ev,frame,desiredKind,translateKind);
- #endif
- }
-
- /* method: DoPasteAs */
- ODBoolean DoPasteAs(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteAs)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteAs)
- (this,ev,frame);
- #endif
- }
-
- /* method: CanPasteLink */
- ODBoolean CanPasteLink(Environment *ev,
- ODStorageUnit* contentSU,
- ODBoolean isMyContent,
- ODSShort pasteStart,
- ODSShort pasteEnd)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CanPasteLink)
- (this,ev,contentSU,isMyContent,pasteStart,pasteEnd);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CanPasteLink)
- (this,ev,contentSU,isMyContent,pasteStart,pasteEnd);
- #endif
- }
-
- /* method: DoPasteLink */
- ODBoolean DoPasteLink(Environment *ev,
- ODFrame* frame,
- ODType desiredKind)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteLink)
- (this,ev,frame,desiredKind);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteLink)
- (this,ev,frame,desiredKind);
- #endif
- }
-
- /* method: DoDropPaste */
- void DoDropPaste(Environment *ev,
- ODStorageUnit* dropSU,
- ODCloneKind cloneKind,
- ODType desiredKind,
- ODFacet* facet,
- ODPoint* where)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDropPaste)
- (this,ev,dropSU,cloneKind,desiredKind,facet,where);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: DoDropPasteLink */
- void DoDropPasteLink(Environment *ev,
- ODStorageUnit* dropSU,
- ODType desiredKind,
- ODFacet* facet,
- ODPoint* where)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDropPasteLink)
- (this,ev,dropSU,desiredKind,facet,where);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: DoLinkInfo */
- ODBoolean DoLinkInfo(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoLinkInfo)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoLinkInfo)
- (this,ev,frame);
- #endif
- }
-
- /* method: DoClear */
- ODBoolean DoClear(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoClear)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoClear)
- (this,ev,frame);
- #endif
- }
-
- /* method: DoSelectAll */
- ODBoolean DoSelectAll(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSelectAll)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSelectAll)
- (this,ev,frame);
- #endif
- }
-
- /* method: DoSampleTwo */
- ODBoolean DoSampleTwo(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleTwo)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleTwo)
- (this,ev,frame);
- #endif
- }
-
- /* method: DoSampleOne */
- ODBoolean DoSampleOne(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleOne)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleOne)
- (this,ev,frame);
- #endif
- }
-
- /* method: CommonDropProlog */
- void CommonDropProlog(Environment *ev,
- ODCloneKind cloneKind)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CommonDropProlog)
- (this,ev,cloneKind);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: DropOneItem */
- ODDropResult DropOneItem(Environment *ev,
- ODStorageUnit* dropSU,
- ODFacet* facet,
- ODPoint* where)
- {
- #ifdef SOMCHKEXCEPT
- ODDropResult __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DropOneItem)
- (this,ev,dropSU,facet,where);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DropOneItem)
- (this,ev,dropSU,facet,where);
- #endif
- }
-
- /* method: UndoRedoCut */
- void UndoRedoCut(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoCut)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: UndoRedoPaste */
- void UndoRedoPaste(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoPaste)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: UndoRedoPasteLink */
- void UndoRedoPasteLink(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoPasteLink)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: UndoRedoClear */
- void UndoRedoClear(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoClear)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: UndoRedoSampleOne */
- void UndoRedoSampleOne(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoSampleOne)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: UndoRedoSampleTwo */
- void UndoRedoSampleTwo(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoSampleTwo)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: UndoRedoTyping */
- void UndoRedoTyping(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoTyping)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: UndoRedoStyling */
- void UndoRedoStyling(Environment *ev,
- UndoInfo* action,
- ODUShort selector)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoStyling)
- (this,ev,action,selector);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: PushUndoAction */
- void PushUndoAction(Environment *ev,
- ODFrame* frame,
- ODCommandID command,
- ODULong start,
- ODULong end,
- ODPtr text,
- ODHandle style,
- StringPtr undoText,
- StringPtr redoText)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PushUndoAction)
- (this,ev,frame,command,start,end,text,style,undoText,redoText);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: IncorporateTestDragContent */
- void IncorporateTestDragContent(Environment *ev,
- ODStorageUnit* su,
- ODUpdateID change,
- ODCloneKind cloneKind)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateTestDragContent)
- (this,ev,su,change,cloneKind);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: IncorporateStyledTextContent */
- void IncorporateStyledTextContent(Environment *ev,
- ODStorageUnit* su,
- ODUpdateID change)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateStyledTextContent)
- (this,ev,su,change);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: IncorporateTextContent */
- void IncorporateTextContent(Environment *ev,
- ODStorageUnit* su,
- ODUpdateID change)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateTextContent)
- (this,ev,su,change);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: OpenWhitespace */
- void OpenWhitespace(Environment *ev,
- ODStorageUnit* su,
- ODValueType kind)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,OpenWhitespace)
- (this,ev,su,kind);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: InsertWhitespace */
- void InsertWhitespace(Environment *ev,
- char firstChar,
- char lastChar)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InsertWhitespace)
- (this,ev,firstChar,lastChar);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: ExpandSelectionAroundLink */
- void ExpandSelectionAroundLink(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ExpandSelectionAroundLink)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: SelectionInLinkSource */
- ODBoolean SelectionInLinkSource(Environment *ev)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkSource)
- (this,ev);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkSource)
- (this,ev);
- #endif
- }
-
- /* method: SelectionInLinkDestination */
- ODBoolean SelectionInLinkDestination(Environment *ev)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkDestination)
- (this,ev);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkDestination)
- (this,ev);
- #endif
- }
-
- /* method: PtInDestinationLink */
- ODBoolean PtInDestinationLink(Environment *ev,
- Point* thePoint)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PtInDestinationLink)
- (this,ev,thePoint);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PtInDestinationLink)
- (this,ev,thePoint);
- #endif
- }
-
- /* method: AdjustDstLinks */
- void AdjustDstLinks(Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODSShort endNew,
- ODUpdateID change)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustDstLinks)
- (this,ev,start,endOld,endNew,change);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AdjustSrcLinks */
- void AdjustSrcLinks(Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODSShort endNew,
- ODUpdateID change)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustSrcLinks)
- (this,ev,start,endOld,endNew,change);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: CheckDstLinkDeletion */
- void CheckDstLinkDeletion(Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODUpdateID change)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CheckDstLinkDeletion)
- (this,ev,start,endOld,change);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AbandonSourceLinks */
- void AbandonSourceLinks(Environment *ev,
- ODSShort start,
- ODSShort end)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AbandonSourceLinks)
- (this,ev,start,end);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: RemoveSrcLink */
- void RemoveSrcLink(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveSrcLink)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: RemoveDstLink */
- void RemoveDstLink(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveDstLink)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: RemoveLinkSpec */
- void RemoveLinkSpec(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveLinkSpec)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: LinkChanged */
- void LinkChanged(Environment *ev,
- AppleTestDrag_DragText_SrceOfLink* srcLink,
- ODUpdateID changeID)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,LinkChanged)
- (this,ev,srcLink,changeID);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: IncorporateContentFromLink */
- void IncorporateContentFromLink(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateContentFromLink)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AdjustLinks */
- void AdjustLinks(Environment *ev,
- ODSShort start,
- ODSShort endOld,
- ODSShort endNew,
- ODUpdateID changeID)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustLinks)
- (this,ev,start,endOld,endNew,changeID);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: AddLinkSpecToSU */
- void AddLinkSpecToSU(Environment *ev,
- ODStorageUnit* su)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AddLinkSpecToSU)
- (this,ev,su);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: PasteLinkFromSU */
- void PasteLinkFromSU(Environment *ev,
- ODFrame* frame,
- ODType desiredKind,
- ODStorageUnit* su)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PasteLinkFromSU)
- (this,ev,frame,desiredKind,su);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: ShowLinkBorder */
- void ShowLinkBorder(Environment *ev,
- ODFrame* frame,
- AppleTestDrag_DragText_LinkBorderStyle borderStyle)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ShowLinkBorder)
- (this,ev,frame,borderStyle);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- /* method: ShowAboutBox */
- ODBoolean ShowAboutBox(Environment *ev,
- ODFrame* frame)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ShowAboutBox)
- (this,ev,frame);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ShowAboutBox)
- (this,ev,frame);
- #endif
- }
-
- /* method: UserCategoryString */
- ODBoolean UserCategoryString(Environment *ev,
- ODName* name)
- {
- #ifdef SOMCHKEXCEPT
- ODBoolean __somResult =
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UserCategoryString)
- (this,ev,name);
- SOMCHKEXCEPT;
- return __somResult;
- #else
- return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UserCategoryString)
- (this,ev,name);
- #endif
- }
-
- /* method: InstallObjectAccessors */
- void InstallObjectAccessors(Environment *ev)
- {
- SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InstallObjectAccessors)
- (this,ev);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- }; /* AppleTestDrag_DragText */
-
-
-
- #endif /* SOM_AppleTestDrag_DragText_xh */
-